Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Crazy experiment to generate statically analisable configuration. Works fine with the
prepare command
.Pending tasks:
split tsdown build per templaterequires previous step or find a way to do that (ask Daniel): not sure if we can generate virtual Nuxt module using just the ts file, maybe something we need to add at Nuxt (or maybe already there: we need to genarate the corresponding dts)pnpm dev:prepare
too slow ~2 seconds => HMR is quite fast ~210ms (check screenshot below)magicast
to allow use local variables and load module meta info before merging (rn merging on the fly); we need to load meta data and then add the configurationNOTE: I'll need to change the logic, we're sharing
ssr
,options
andunocss
virtual modules, there is a race condition on HMR and on SSR build:nuxt prepare
runs globally, but HMR and SSR build will run 2 "builds", maybe @danielroe can help on thisRunning
pnpm dev
will run the prepare command a few times.The external playground not updated, this PR using a local tgz of Vuetify: vuetifyjs/vuetify#22152
HMR